<extend name="Public/base" />

<block name="body">
	<div class="main-title cf">
		<h2>修改个人资料</h2>
	</div>
	<!-- 表单 -->
	<form id="form" action="{:U()}" method="post" class="form-horizontal">
		<div class="form-item cf">
			<label class="item-label"><em class="must">*</em>姓名<span class="check-tips">（真实姓名）</span></label>
			<div class="controls">
				<input type="text" class="text input-large" name="nickname" value="{$list.nickname}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">手机<span class="check-tips"></span></label>
			<div class="controls">
				<input type="text" class="text input-large" name="mobile" value="{$list.mobile}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">邮箱<span class="check-tips">（个人邮箱）</span></label>
			<div class="controls">
				<input type="text" class="text input-large" name="email" value="{$list.email}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">生日<span class="check-tips">（输入生日）</span></label>
			<div class="controls">
				<input type="text" id="datetimepicker" class="text input-large" name="birthday" value="{$list.birthday}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">住址<span class="check-tips">（目前住址）</span></label>
			<div class="controls">
				       							
				<input type="text" name="address" class="text input-large" value="{$list.address}" placeholder="住址" />			
				
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">籍贯<span class="check-tips"></span></label>
			<div class="controls">
				<input type="text" name="hometown" class="text input-large" value="{$list.hometown}">
			</div>
		</div>

		<div class="form-item">
			<input type="hidden" name="uid" value="{$list.uid}"/>
			<button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
			</div>
		</div>
	</form>
</block>

<block name="script">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript" charset="utf-8">
	$(function(){
		//导航高亮
		$('.side-sub-menu').find('a[href="{:U('User/TakingWork')}"]').closest('li').addClass('current');
		$('#datetimepicker').datetimepicker({
			format: 'yyyy-mm-dd',
			language:"zh-CN",
			minView:2,
			autoclose:true
		});
		
	})
</script>
</block>
